<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../Public/css/basic.css"/>
<link rel="stylesheet" href="../Public/css/index.css"/>
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="__ROOT__/Public/Jquery/JQuery.screen.js"></script>
<script type="text/javascript" src="../Public/js/sidebar.js"></script>
<script type="text/javascript" src="../Public/js/index.js"></script>
<title>三原县信息网 -- 用户中心</title>
</head>
<body>
    <include file="./Member/Tpl/Public/header.html"/>
    <div id="map"><img src="../Public/images/loc.gif" /> <a href="__ROOT__/member.php">用户中心</a> &gt; 首页</div>
    <include file="./Member/Tpl/Public/sidebar.html"/>
    <div id="main">
        <div class="info">
            <h3><img src="../Public/images/panel_icon_1.gif" style="position:relative;top:10px;left:5px;"/>账号信息</h3>
            <p class="name">用户名：{$Think.cookie.user}</p>
            <ul>
                <li>Email: {$current.email}</li>
                <li>注册时间: {$current.reg_time}</li>
                <li>最近访问时间: {$current.last_time}</li>
                <li>上次访问IP: {$current.last_ip}</li>
            </ul>
            <span><strong>{$current.account}</strong><img src="../Public/images/zpoint_value.png" /> <a href="__ROOT__/member.php/Index/pay/act/pay"><img src="../Public/images/zpoint_pay.png"></a></span>
        </div>
        <div class="count">
            <h3>统计信息</h3>
            <p class="address">我的空间地址: <a href="http://{$Think.server.server_name}__ROOT__/member.php/Index/mySpace/user/{$current.name}" style="color:#06f;" target="_blank">http://{$Think.server.server_name}__ROOT__/member.php/Index/mySpace/user/{$current.name}</a></p>
            <p class="message">我发布的信息：<a href="__ROOT__/member.php/Index/myInfo">{$infocount}</a>  未读信息：<a href="__ROOT__/member.php/Index/message/act/in">{$notread}</a></p>
        </div>
        <div class="account">
            <h3>财务信息</h3>
            <p class="save">账户余额：　　<span style="color:#f60;font-weight:bold;">{$current.account}</span>金币　　　<a href="__ROOT__/member.php/Index/pay/act/pay"><img src="../Public/images/coins_add.gif" style="position:relative;top:4px;right:3px;"/>充值</a>　　<a href="__ROOT__/member.php/Index/pay/act/rechargeRecord"><img src="../Public/images/coins.gif" style="position:relative;top:4px;right:3px;"/>充值记录</a></p>
            <p class="score">您的积分：　　<span style="color:#f60;font-weight:bold;">{$current.score}</span>分　　　　<a href="###" id="exchange">兑换积分</a>　<a href="###" id="rule" style="color:red;">获取积分细则</a>
        </div>
        <div class="pro">
            <h3>注册推广</h3>
            <div class="sm">
                <p>按照以下要求进行注册推广，即可获取一定积分：</p>
                <p>1、复制下面的链接代码发送到你的qq群、qq好友或者嵌入你的博客中、论坛签名中</p>
                <p>2、访问者点击链接后进行网站访问</p>
                <p>3、当访问者在24小时内进行注册时，你将获取 <span style="color:#f60;">10</span> 分奖励</p>
            </div>
            <div class="code">
                <dl>
                    <dd>网页嵌入代码：　<input type="text" value='<a href="http://{$Think.server.server_name}__ROOT__/index.php?proid={$current.id}" target="_blank">三原信息网</a>' readonly="readonly" class="text"/> <input type="button" value="点击全选" /></dd>
                    <dd>论坛签名代码：　<input type="text" value='[url=http://{$Think.server.server_name}__ROOT__/index.php?proid={$current.id}]三原信息网[/url]' readonly="readonly" class="text"/> <input type="button" value="点击全选" /></dd>
                    <dd>直接发送链接：　<input type="text" value='http://{$Think.server.server_name}__ROOT__/index.php?proid={$current.id}' readonly="readonly" class="text"/> <input type="button" value="点击全选" /></dd>
                </dl>
            </div>
        </div>
    </div>
    
    <!-- 积分细则  start -->
    <div id="rule_window">
        <a href="###" id="close_rule"><img src="__ROOT__/Tpl/Public/images/close.png"/></a>
        <h4>积分细则</h4>
        <table cellspacing="0">
            <tr><th>操作事件</th><th>积分变化</th></tr>
            <tr><td>成功注册</td><td class="add">+10</td></tr>
            <tr><td>首次登陆</td><td class="add">+5</td></tr>
            <tr><td>宣传推广</td><td class="add">成功推广一个增加10分</td></tr>
        </table>
    </div>
    <!-- 积分细则  end -->
    
    <!-- 兑换金币  start -->
    <div id="exchange_window">
        <a href="###" id="close_exchange"><img src="__ROOT__/Tpl/Public/images/close.png"/></a>
        <h4>兑换积分</h4>
        <input type="hidden" id="cscore" value="{$current.score}"/>
        <input type="hidden" id="root" value="__URL__"/>
        <p class="tip">当前共有 <span style="color:red;">{$current.score}</span> 分,可兑换 <span style="color:red;">{$current['score']/3|floor}</span> 金币</p>
        <p class="take">使用 <input type="text" class="num" /> 积分来兑换 <span style="color:red;" id="ex">0</span> 金币</p>
        <input type="button" value="确认兑换" id="confirm" class="sub"/>
    </div>
    <!-- 兑换金币  end -->
    
    <div id="loading" style="display:none;position:absolute;z-index:10000"><img src="./Tpl/Public/images/loading.gif" alt="等待"/></div>
    <div id="linfo"><p>兑换成功</p></div>
    
    <include file="./Member/Tpl/Public/footer.html"/>
</body>
</html>